<%template _header%>

<%if {IsPost}%>
<%if ErrorCount==0%>
<%template _msgbox%>
<%else%>
<%template _errmsgbox%>
<%/if%>

<%else%>
<div class="layout-cols2">
<div class="col1">
<form id="form1" name="form1" method="post" action="#">
<div class="box">
	<div class="caption">
		<h3>用户登录</h3>
	</div>
	<div class="content">
	<table class ="table-box1" cellpadding="0" cellspacing="0" border="0"style="width:600px;">
	<tbody>
		<tr class="list">
				<td class ="td-left" style="width:300px;">登录名:</td>
				<td class ="td-right" style="width:300px;"><input name="username" type="text" id="username" size="20" style="width:200px;" class="colorblue" onfocus="this.className='colorfocus';"	onblur="this.className='colorblue';" value="{username}" /> &nbsp; <a href="register.aspx" tabindex="-1" accesskey="r" title="立即注册 (ALT + R)">立即注册</a></td>
		</tr>
	</tbody>
	<tbody>
		<tr class="list">
				<td class="td-left"style="width:300px;">密码:</td>
				<td class="td-right"style="width:300px;"><input name="password" type="password" id="password" size="20" style="width:200px;" class="colorblue" onfocus="this.className='colorfocus';" onblur="this.className='colorblue';" /> &nbsp; <a href="getpassword.aspx" tabindex="-1" accesskey="g" title="忘记密码 (ALT + G)">忘记密码</a></td>
		</tr>
	</tbody>
	<tbody>
		<tr class="list">
				<td class="td-left"style="width:300px;">&nbsp;</td>
				<td class="td-right"style="width:300px;">
				    <input type="checkbox" name="expireTime" value="5256000" />记住我			  
				</td>
		</tr>
	</tbody>
	</table>
	<div align ="center">
          <input name="login" type="submit" id="login" value="登录" onclick="javascript:window.location.replace('?agree=yes')" class="buttonstyle" />
								&nbsp;&nbsp;
         <input name="cancel" type="button" id="cancel" value="取消" onclick="javascript:window.history.go(-1);" class="buttonstyle" />
	</div>
	</div>
</div>
</form>
<script type="text/javascript">
	document.getElementById("username").focus();
</script>
</div>
<div class="col2">
<div class="box">
<div class="caption">登录优医网您可以：</div>
<div class="content"style="height:123px;">

<li>查看更多的病友实例和统计数据</li>
<li>共享你的信息，得到更多帮助</li>
<li>更方便地和病友们交流</li>
<li>查看更多的治疗方案</li>
<li>向专业的医生咨询</li>
<li>拥有定制咨讯</li>
</div>
</div>
</div>
</div>



<%/if%>
<%template _footer%>
